using System;

namespace LightPersist
{
	public class PrimitiveValueTypeHandler : ITypeHandler
	{
		public PrimitiveValueTypeHandler(Type type)
		{
			_type = type;
		}

		private readonly Type _type;

		public object GetDefaultValue()
		{
			return Activator.CreateInstance(_type);
		}
	}
}